
struct queue{
	struct proc* processes[1000];
	int size;
};
 
struct semaphore{
  struct spinlock mutex;
  struct queue q;
  int value;
  int	id;
  int used;
};